package org.mikhaylov.cp.service.db.entities;

import java.io.Serializable;
import java.util.Set;

public class User implements Serializable, Entity {

	private static final long serialVersionUID = 1L;

	private long id;

	private String login;

	private String password;

	private Set<Inventory> inventories;

	private Double balance;

	private Set<Take> takes;
	
	private City city;

	private String name;
	
	private String phone;
	
	private String desc;
	
	public User() {
		
	}
	
	public Set<Inventory> getInventories() {
		return inventories;
	}

	public void setInventories(Set<Inventory> inventories) {
		this.inventories = inventories;
	}

	public Double getBalance() {
		return balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Set<Take> getTakes() {
		return takes;
	}

	public void setTakes(Set<Take> takes) {
		this.takes = takes;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public City getCity() {
		return city;
	}
	
	public void setCity(City city) {
		this.city = city;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	
}
